package biz

import (
	"context"
	"time"
)

type Note struct {
	ID         int64
	CategoryID int64
	Title      string
	Content    string
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

type NoteRepo interface {
	CreateNote(ctx context.Context, note *Note) error
	GetNote(ctx context.Context, id int64) (*Note, error)
	UpdateNote(ctx context.Context, id int64, note *Note) error
	MoveNote(ctx context.Context, id int64, categoryID int64) error
	DeleteNote(ctx context.Context, id int64) error
}
